package com.wx.wxpush.entiy;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.List;

@Data
@AllArgsConstructor
@NoArgsConstructor
/**
 *实现树形
 * @author chentianfa
 * @date 2022/11/14
 */

public class Tree implements Serializable {
    private String roleCode;
    private String roleName;
    private String superiorUnit;//父类id  parentId最好
    private String roleDesc;
    private int enable;
    private List<Tree> childs;

}
